package com.alibaba.dingtalk.openapi.vo.oa;

import lombok.Getter;

import java.io.Serializable;
import java.util.List;

/**
 * 任务新增DTO
 *
 * @author LiZhikang
 * @date 2023/3/16 9:38
 */
@Getter
public class TaskAddDTO implements Serializable {
    private static final long serialVersionUID = -7318398771668390595L;
    /**
     * 实例Id
     */
    private String processInstanceId;
    /**
     * 自定义节点Id
     */
    private String activityId;
    /**
     * 任务列表
     */
    private List<TaskDetailDTO> tasks;

    public TaskAddDTO(String processInstanceId, String activityId, List<TaskDetailDTO> tasks) {
        this.processInstanceId = processInstanceId;
        this.activityId = activityId;
        this.tasks = tasks;
    }
}
